package at.ac.tuwien.sepm.s2011.e0208329.dao;

//import java.awt.List;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Map;

import at.ac.tuwien.sepm.s2011.e0208329.domain.Dienstleistung;

public interface DienstleistungDAO {
	
	public void insertService(Dienstleistung service) throws SQLException;
	
	public int getServiceID(String serName) throws SQLException;
	
	public ArrayList<Dienstleistung> getAllServices() throws SQLException;
	
	public ArrayList<Dienstleistung> searchAdvance(Map<String, String> searchFields);
	
	public Dienstleistung updateService(Dienstleistung service);
	
	public int getPrice(int serID) throws SQLException;
	
	public int setSaleNumber(int serID, int saledNo)throws SQLException;
	
	public String getSerivceName(int serID) throws SQLException;
	
	public void deleteService(int serID) throws SQLException;

}
